/**
 * Created by Void on 2017/5/11.
 */


import {Injectable} from '@angular/core';


@Injectable()
export class LoginService {
    constructor() {
    }
    login() {
        //return this.httpService.post(APP_SERVE_URL + '/app/bugRepair/login', user);
        let data = {
            success: true,
            msg: '查询成功',
            data: {
                id: 1,
                username: '阿飞',
                usericon: 'assets/img/user_iocn.JPG',
                phone: '18937632575',
                description: '有图有真相，一本正经的胡说八道。',
                isLogin:true
            }
        };
        return new Promise((resolve) => {
            resolve(data);
        });
    }
}
